package cn.ztydata.teachingsystem.heaven.web.dto;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 专业
 *
 * @author fanruiping
 * @since 2014-11-28
 */
public class SpecialtyDto {
    private Long id;//专业编号
    @NotNull
    @Length(min = 1, max = 10, message = "系部编码长度应为1~10")
    private String departCode;//系部编码
    private String departName;//系部名称
    @NotNull
    @Length(min = 1, max = 10, message = "专业编码长度应为1~10")
    private String code;//专业编码
    @NotNull
    @Length(min = 1, max = 30, message = "专业名称长度应为1~30")
    private String name;//专业名称
    private String remark;//专业简介
    private String target;//培养目标
    private String job;//就业方向
    private String certificate;//职业资格证
    private Long count;//其下资源数量

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartCode() {
        return departCode;
    }

    public void setDepartCode(String departCode) {
        this.departCode = departCode;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public Long getCount(){
        return count;
    }

    public void setCount(Long count){
        this.count = count;
    }
}
